package com.zang.test.function;

/**
 * 函数式接口
 * MathListener mathListener = (x,y) -> x-y;
 * MathListener mathListener1 = Math::doMath;
 * @author Zhang Qiang
 * @Date 2019/8/30 14:52
 */
@FunctionalInterface
public interface MathListener {
    int doMath(int start, int end);
}
